package com.zsjp.alc.entity;

/**
 * 错误码实体类
 * */
public class ErrorMessage {
	//这个在springboot启动的时候复制
	//public static Map<String, ErrorMessage> ERROR_MESSAGE = new HashMap<String, ErrorMessage>();
	private String errorCode;
	private String description;
	private String suggestion;
	public String getErrorCode() {
		return errorCode;
	}
	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getSuggestion() {
		return suggestion;
	}
	public void setSuggestion(String suggestion) {
		this.suggestion = suggestion;
	}
	public ErrorMessage(String errorCode, String description, String suggestion) {
		super();
		this.errorCode = errorCode;
		this.description = description;
		this.suggestion = suggestion;
	}
	public ErrorMessage() {}
	@Override
	public String toString() {
		return "ErrorMessage [errorCode=" + errorCode + ", description=" + description + ", suggestion=" + suggestion
				+ "]";
	}
	
}
